function InterceptorManager() {
  this.handles = null;
  return this;
}

/**
 * 拦截器处理收集
 *
 * @param {Function} fulfilled
 * @param {Function} rejected
 */
InterceptorManager.prototype.use = function use(fulfilled, rejected) {
  this.handles = {
    fulfilled: fulfilled,
    rejected: rejected,
  };
};

module.exports = InterceptorManager;
